<template>
    <div class="detail-page">
        <img :src="$route.params.pic" alt="">
        <div>{{$route.params.name}}</div>
        <div>￥{{$route.params.price}}</div>
    </div>
</template>

<script>

export default {
    data(){
        return {

        }
    }
}
</script>
<style>
.detail-page{
    display: flex;
    flex-direction: column;
}
.detail-page img{
    width: 100%;
}
</style>